package cn.com.jinhao.provider.user.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * HotLine
 * <p>Description: 部门实体类</p>
 *
 * @author ShaneMew
 * @version 1.0
 * @date 2019/10/23
 * @since 2019-10-23
 */

@ToString
@Data
@Table(name = "ST$DEPT")
@ApiModel(value = "Dept", description = "部门信息")
public class Dept extends Base implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column(name = "dept")
    @ApiModelProperty(value = "部门")
    private String dept;

    @Column(name = "paid")
    @ApiModelProperty(value = "上级部门")
    private String parentDeptCode;

    @Column(name = "spel")
    @ApiModelProperty(value = "汉语拼音")
    private String spel;

    @Column(name = "fpno")
    @ApiModelProperty(value = "固定电话")
    private String tel;

    @Column(name = "cpno")
    @ApiModelProperty(value = "移动电话")
    private String mobile;

    @Column(name = "fxno")
    @ApiModelProperty(value = "传真号码")
    private String fax;

    @Column(name = "mail")
    @ApiModelProperty(value = "邮箱")
    private String mail;

    @Column(name = "addr")
    @ApiModelProperty(value = "地址")
    private String addr;

    @Column(name = "zipc")
    @ApiModelProperty(value = "邮编")
    private String zipCode;

    @Column(name = "clas")
    @ApiModelProperty(value = "类别")
    private String classType;

}
